stack: stop keeping a cached child render node around
authorTimm Bäder <mail@baedert.org>
Fri, 12 Jun 2020 19:40:34 +0000 (21:40 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 19 Jun 2020 03:26:25 +0000 (05:26 +0200)
commit3bd648e72eeaec252a9c93316df5420b920501fe
tree1a0bf1ae263d4705f4a96e212772866916e59e0d
parent2ae8ace78499074a4d0ea6d9272cda0e6b9d5807
stack: stop keeping a cached child render node around

All widgets cache their render node already. Just allocate the
last_visible_child always at 0/0 and then move its rendernode around
during snapshot.

Fixes #2678
gtk/gtkstack.c